#include <stdio.h>
int function2 (int n, double x);//prototype declare

int aGlobalVariant = 10;

void main (void)
{
	int m;
	double y;

	m = 15;
	y = 308.24;
	printf ("The value of m in main is m=%d\n\n", m);
	function2 (m, y);
	printf ("The value of m in main is still m=%d\n", m);
//	printf("%d\n\n",aGlobalVariant);
}

int function2 (int n, double x)
{
	printf ("function2 is a void function that does receive\n\
            \rvalues from main.  The values received from main are:\n\
            \r\t n=%d \n\r\t x=%lf\n\n", n, x);
	return 9;
	printf("%d\n\n",aGlobalVariant);
}


